AltSource

enum AltSource : ProtocolMessageEnum

How the altitude was acquired: manual, GPS int/ext, etc
Default: same as location_source if present
Protobuf enum meshtastic.Position.AltSource

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

TODO: REPLACE
ALT_BAROMETRIC = 4;
Link copied to clipboard

TODO: REPLACE
ALT_EXTERNAL = 3;
Link copied to clipboard

TODO: REPLACE
ALT_INTERNAL = 2;
Link copied to clipboard

TODO: REPLACE
ALT_MANUAL = 1;
Link copied to clipboard

TODO: REPLACE
ALT_UNSET = 0;

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<MeshProtos.Position.AltSource>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): MeshProtos.Position.AltSource

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.